<div id="title-bar">
	<ul id="breadcrumbs">
		<li><a href="index.php" title="Home"><span id="bc-home"></span></a></li>
		<li><a href="index.php?module=group_manager">Grup Yetki Yönetimi</a></li>
		<li class="no-hover">Yetki Tipi Tanımla</li>
	</ul>
</div>
<div class="shadow-bottom shadow-titlebar"></div>


<div id="main-content">
	<div class="container_12">

		<div class="grid_12">
			<h1>Yetki Tipi Tanımlama</h1>
			<p>Bu sayfada, kullanıclara tanımlanan yetki modülü ve açıklamalarını tanımlayabilirsiniz.</p>
		</div> 

		<div class="grid_6">
			<div class="block-border">
				<div class="block-header">
					<h1>Yetki Listesi</h1><span></span>
				</div>
				<div class="block-content">
					<table id="table-groupmanager" class="table">
						<thead>
							<tr>
								<th>Method Adı</th>
								<th>Method Tanımlaması</th>
							</tr>
						</thead>
						<tbody>
							<?php
								foreach($authList as $auth)
								{
								?>
								<tr class="gradeX">
									<td><?php echo $auth['method']; ?></td>
									<td class="center"><?php echo $auth['note']; ?></td>
								</tr>
								<?php
								}
							?>
						</tbody>
					</table>
				</div>
			</div>
		</div>

		<div class="grid_6">
			<div class="block-border">
				<div class="block-header">
					<h1>Yeni Method Tanımla</h1><span></span>
				</div>
				<form class="block-content form" action="" method="POST">
					<div class="_100">
						<p><label for="group_name">Method</label><input id="method" name="method" class="required" type="text" value="" /></p>
					</div>
					
					<div class="_100">
						<p><label for="group_name">Açıklama</label><input id="note" name="note" class="required" type="text" value="" /></p>
					</div>

					<div class="clear"></div>
					<div class="block-actions">
						<ul class="actions-left">
							<li><a class="button red" id="reset-validate-form" href="javascript:void(0);">İPTAL</a></li>
						</ul>
						<ul class="actions-right">
							<li><input type="submit" class="button" value="METHOD OLUŞTUR"></li>
						</ul>
					</div>
				</form>
			</div>
		</div>
		
		<div class="clear height-fix"></div>


	</div>
</div>

<script type="text/javascript">
	$().ready(function() {


		/*
		* DataTables
		*/
		$('#table-groupmanager').dataTable();

	});
</script>